# -*- coding: utf-8 -*-
<%
  from pylons import g
  id = g.random_id()
  conv_results_id = 'conv_results_%s' % id
%>
<div class='feed_info'>
	<div class='feed_links'>
    ${c.feed_title} → ${h.link_to_remote('fb2', dict(update = conv_results_id,
						   url = h.url_for(action='xml_to_fb2', controller='converter', url=c.feed_url),
						   loading="Element.show('getting_results_" + id + "')",
						   complete="Element.hide('getting_results_" + id+ "')"))}&nbsp;\
		    <!-- ${h.link_to_remote("pdf", dict(update = conv_results_id,
					  url = h.url_for(action='xml_to_pdf', controller='converter', url=c.feed_url),
					  loading="Element.show('getting_results_" + id + "')",
					  complete="Element.hide('getting_results_" + id + "')"))}--> </div>
	<div class='left_glue'><div id="getting_results_${id}" class='getting_results' style='display:none;'><img src="/images/ajax-loader.gif"/></div><div id='${conv_results_id}' class='conv_results'></div></div>
</div>
